<form class="form-horizontal form-validate form-modal" method="post" action="{:url('info')}">
    <div class="modal-dialog image-list">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">提现详情</h4>
            </div>
            <div class="modal-body">

                <div class="form-group">
                    <div class="col-sm-6">
                        <label class="col-sm-3 control-label">状态：</label>
                        <div class="col-sm-5 m-t-mc red">
                            {$row.status_name}
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <label class="col-sm-3 control-label">会员名称：</label>
                        <div class="col-sm-5 m-t-mc">
                            {$row.user_id}-{$row.user_id|userInfo}
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6">
                        <label class="col-sm-3 control-label">申请日期：</label>
                        <div class="col-sm-5 m-t-mc">
                            {$row.add_time|dateTpl}
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <label class="col-sm-3 control-label">手续费扣除：</label>
                        <div class="col-sm-5 m-t-mc">
                            {$fee_types[$row.fee_type]}
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6">
                        <label class="col-sm-3 control-label">提现金额：</label>
                        <div class="col-sm-5 m-t-mc">
                            {$row.money|priceFormat=true}
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <label class="col-sm-3 control-label">手续费：</label>
                        <div class="col-sm-5 m-t-mc">
                            {$row.withdraw_fee|priceFormat=true}
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6">
                        <label class="col-sm-3 control-label">实扣金额：</label>
                        <div class="col-sm-5 m-t-mc">
                            {$row.real_money|priceFormat=true}
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <label class="col-sm-3 control-label">到帐金额：</label>
                        <div class="col-sm-5 m-t-mc">
                            <b class="red">{$row.arrival_money|priceFormat=true}</b>
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-2 control-label">提现方式：</label>
                    <div class="col-sm-8 m-t-mc">
                        {$withdraw_account_type[$row['account_type']]}<br>

                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">提现信息：</label>
                    <div class="col-sm-8 m-t-mc">
                        {if condition="$row['account_type']=='bank'"}
                        开户银行:{$row.account.bank_name}<br>
                        开户支行:{$row.account.bank_subbranch}<br>
                        银行卡号:{$row.account.bank_card_number}<br>
                        持卡人名:{$row.account.bank_user_name}<br>
                        {/if}
                        {if condition="$row['account_type']!='bank'"}
                        名称：{$row.account.name}<br>
                        帐户：{$row.account.account}<br>
                        <img src="{$row['qrcode_file']}" style="width: 100px;">
                        {/if}
                    </div>
                </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">备注：</label>
                        <div class="col-sm-9">
                            <textarea name="admin_note" id="admin_note" style="width:100%; height:80px;">{$row['admin_note']}</textarea>
                        </div>
                    </div>
                    {eq name="row.status" value="0"}
                    <div class="form-group">
                        <label class="col-sm-2 control-label">打款信息：</label>
                        <div class="col-sm-9">
                            <textarea name="pay_info" id="pay_info" style="width:100%; height:80px;"></textarea>
                        </div>
                    </div>
                    {/eq}
                    {gt name="row.admin_id" value="0"}
                    <div class="form-group">
                        <label class="col-sm-3 control-label">操作管理员：</label>
                        <div class="col-sm-6 m-t-mc">
                           {$row.admin_id} - {$row.admin_id|adminInfo}
                        </div>
                    </div>
                    {/gt}
                    {gt name="row.complete_time" value="0"}
                    <div class="form-group">
                        <label class="col-sm-3 control-label">打款时间：</label>
                        <div class="col-sm-6 m-t-mc">
                            {$row.complete_time|dateTpl}
                        </div>
                    </div>
                    {/gt}
                     {gt name="row.refuse_time" value="0"}
                    <div class="form-group">
                        <label class="col-sm-3 control-label">拒绝时间：</label>
                        <div class="col-sm-6 m-t-mc">
                            {$row.refuse_time|dateTpl}
                        </div>
                    </div>
                    {/gt}
            </div>
            <div class="modal-footer">
                <input type="hidden" name="log_id" value="{$row.log_id|intval}"/>
                <input type="hidden" name="operating" id="operating" value="note"/>                
                {eq name="row.status" value="0"}
                    <button type="button" class="btn btn-primary operatbtn" data-type='refuse'>拒绝申请（退回积分）</button>
                    <button type="button" class="btn btn-primary operatbtn" data-type='pay'>已打款</button>
                {/eq}
                <button type="button" class="btn btn-primary operatbtn" data-type='note'>保存备注</button>
                <button type="submit" class="btn btn-primary postBtn hide" data-loading-text="保存中..." disabled>保存</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</form>
